<?php

namespace app\modules\user\controllers;

use yii;
use yii\web\Controller;

/**
 * 个人足迹
 */
class FootmarkController extends Controller
{
    /**
     * Renders the index view for the module
     * @return string
     */
    public function actionIndex()
    {
        //检测登录情况
        if (Yii::$app->user->isGuest) {
            return $this->redirect('/site/login');
        }
        //获取我的作品
        
        //获取我阅读的记录
        
        return $this->render('index',['username'=>Yii::$app->user->identity->username]);
    }
}
